package edu.dgut.bbssystem.mapper;

import com.github.pagehelper.Page;
import edu.dgut.bbssystem.pojo.Comment;

public interface CommentMapper {
    int deleteByPrimaryKey(Integer commentId);

    int insert(Comment record);

    int insertSelective(Comment record);

    Comment selectByPrimaryKey(Integer commentId);

    int updateByPrimaryKeySelective(Comment record);

    int updateByPrimaryKey(Comment record);

    Page<Comment> getAll();
}